<extend name="Base/common"/>

<block name="style">
    <link href="__CSS__/event.css" rel="stylesheet" type="text/css"/>
</block>
<block name="header">
    <include file="_nav"/>
</block>
<block name="body">
<!--导航-->
    <div class="col-xs-9">
        <div class="forum_module" style="min-height: 800px">
            <div class="row evt-title">
                        <div class="pull-left">{:L('_EVENT_HOME_PAGE_')}</div>
                        <div class="btn-group btn-group-sm pull-right">
                            <a href="{:U('index',array('norh'=>'new','type_id'=>$type_id))}"
                               class="btn btn-default <if condition="$norh
                            eq 'new'">active</if>">{:L('_NEWEST_')}</a>
                            <a href="{:U('index',array('norh'=>'hot','type_id'=>$type_id))}"
                               class="btn btn-default <if condition="$norh
                            eq 'hot'">active</if>">{:L('_HOTTEST_')}</a>
                        </div>
            </div>

            <volist name="contents" id="vo">
                <div class="clearfix event_list">
                    <include file="_eventlist"/>
                </div>
            </volist>
            <div class="row issue_list">
                <if condition="count($contents) eq 0">
                    <div class="no-event">{:L('_TIP_EMPTY_')}</div>
                </if>
            </div>
        </div>

        <div>
            <div class="pull-right">

                {:getPagination($totalPageCount,10)}
            </div>
        </div>
    </div>
    <div class="col-xs-3" style="z-index: 99">
        <include file="_right"/>
    </div>
</block>

<block name="script">
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <script type="text/javascript" src="__JS__/event.js"></script>
    <script>
        $(function () {
            $('#top_nav >li >a ').mouseenter(function () {
                $('.children_nav').hide();
                $('#children_' + $(this).attr('data')).show();
            });
        })
    </script>
    <script type="text/javascript">
        var SUPPORT_URL = "{:addons_url('Support://Support/doSupport')}";
    </script>
</block>










